﻿package Message.Game
{
    import Framework.Serialize.*;
    import Message.Public.*;

    public class SProcess extends Object
    {
        public var type:int;
        public var code:int;
        public var contents:Array;

        public function SProcess()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.type);
            param1.writeInt(this.code);
            SeqIntHelper.write(param1, this.contents);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.type = param1.readInt();
            this.code = param1.readInt();
            this.contents = SeqIntHelper.read(param1);
            return;
        }// end function

    }
}
